chapter 7 conditional constructs in java icse 9